package cn.fsd.exception;

import cn.fsd.expection.AppExceptionCodeMsg;

public enum SubStationExceptionCodeMsg implements AppExceptionCodeMsg {

  INVOID_CODE(10000, "验证码无效"),
  USERNAME_NOT_EXISTS(10001, "用户名不存在"),
  REQUEST_PARAM_EMPTY(500, "请求参数为空"),
  STATION_ID_EMPTY(500,"分站id不能为空"),

  TASK_ID_EMPTY(500,"任务单id不能为空"),
  COURIER_ID_EMPTY(500,"配送员id不能为空");

  private final Integer code;
  private final String msg;

  public Integer getCode() {
    return code;
  }

  public String getMsg() {
    return msg;
  }

  SubStationExceptionCodeMsg(Integer code, String msg) {
    this.code = code;
    this.msg = msg;
  }
}
